@import "common.less";
@import "../icons/iconfont.css";

@borde-color: #e9e9e9;
@primary-color: #16a1e0;

body,
html {
  position: relative;
  height: 100%;
  background-color: #fff;
  overflow-x: hidden;
}

.content {
  position: relative;
  z-index: 999;
  width: 750 * @rem;
  margin: 0 auto;
}

.header {
  color: #fff;
  width: 100%;
  height: 90 * @rem;
  background-color: #16a1e0;
  margin: 0 auto;
  position: relative;
  .btnback {
    .fontSize(16px);
    position: absolute;
    top: 50%;
    left: 15 * @rem;
    transform: translateY(-50%);
    color: #fff;
  }
  h2 {
    text-align: center;
    color: #fff;
    .fontSize(16px);
    line-height: 90 * @rem;
  }
}

.basic-info {
  padding: 70 * @rem 55 * @rem 35 * @rem;
  .detail {
    position: relative;
    padding: 50 * @rem 30 * @rem 30 * @rem;
    border: 1px solid @borde-color;
    .info-title {
      .fontSize(16px);
      position: absolute;
      top: 0;
      left: 50%;
      transform: translate(-50%, -50%);
      height: 50 * @rem;
      line-height: 50 * @rem;
      padding: 0 30 * @rem;
      background-color: @primary-color;
      color: #fff;
      border-radius: 5 * @rem;
    }
    .info-item {
      .fontSize(14px);
      height: 80 *@rem;
      line-height: 80 *@rem;
      color: #606060;
      overflow: hidden;
      .item-label {
        width: 170 * @rem;
        float: left;
        text-align: right;
        padding-right: 30 * @rem;
      }
      .item-content {
        margin-left: 200 *@rem;
      }
    }
  }
}

.upload-count {
  padding: 0 55 *@rem;
  .fontSize(14px);
  margin-bottom: 35 * @rem;
}

.action {
  padding: 0 55 *@rem;
  .btn {
    width: 250 * @rem;
    height: 60 * @rem;
    line-height: 60 * @rem;
    text-align: center;
    color: #fff;;
    background-color: @primary-color;
    border-radius: 8 * @rem;
    a {
      display: inline-block;
      height: 100%;
      width: 100%;
      color: #fff;
    }
  }
  .btn.fl {
    margin-left: 50 * @rem;
  }
  .btn.fr {
    margin-right: 50 * @rem;
  }
}

#mask {
  position: fixed; //利用固定定位的好处：页面还可以上下翻动，但是始终处于灰色背景下
  top: 0;
  left: 0;
  z-index: 1000;
  display: none;
  background: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100%;

}

#dialog {
  display: none;
  background: white;
  width: 600 * @rem;
  height: 690 * @rem;
  position: absolute;
  left: 50%;
  top: 30%;
  transform: translate(-50%);
  z-index: 1000;
  background-color: #fff;
  .basic-info {
    width: 100%;
    box-sizing: border-box;
    padding: 70 * @rem 35 * @rem 45 * @rem;
    .info-item {
      .item-label {
        width: 100 * @rem;
        padding-right: 15 *@rem;
      }
      .item-content {
        margin-left: 115 * @rem;
        input {
          padding-left: 10 * @rem;
          color: #4a4a4a;
        }
        select.form-control {
          height: 100%;
          width: 100%;
          box-sizing: border-box;
          padding: 0;
          box-sizing: border-box;
          border-radius: 5 * @rem;
          outline: none;
          border: none;
          color: #4a4a4a;
          appearance: none;
          -webkit-appearance: none;
          padding-left: 10 * @rem;
          background: #fff url(/static/public/image/icon_select_down.png) no-repeat 95% center;
          background-size: 36 * @rem 36 * @rem;
          option {
            color: #ccc;
            .fontSize(6px);
          }
        }
        select:invalid {
          color: #ccc;
        }
      }
    }
    .button {
      height: 60 * @rem;
      line-height: 60 * @rem;
      position: relative;
      margin-top: 35 * @rem;
    }
    .save-btn {
      .fontSize(14px);
      height: 100%;
      width: 280 * @rem;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      text-align: center;
      background: @primary-color;
      border-radius: 8 * @rem;
      border: none;
      color: #fff;
    }
  }

}

#dialog #close_btn {
  position: absolute;
  right: 15 * @rem;
  top: 10 * @rem;
  cursor: pointer;
  .iconfont {
    .fontSize(16px);
    color: #666;
  }
}












